#ifndef ASTNODE_LITERAL_H
#define ASTNODE_LITERAL_H
//#include "jtypes.h"
#include "AstNode.h"

class AstNodeLiteral : public AstNode
{
   public:
     AstNodeLiteral(const char * text);
     ~AstNodeLiteral();

     virtual void compile(class CompileVisitor*);

     virtual void dump(int level);

     const char * getString() { return string; }


     //virtual int  compile(ClassFile * klass, MethodInfo * method);
     //inline u4 getStringIndex() { return string_index; }

   private:
     //u4 string_index;
     char * string;
};

#endif
